gtk4.git
15 years agocolorbutton: Render with Cairo
Benjamin Otte [Sun, 11 Jul 2010 23:10:08 +0000 (01:10 +0200)]
colorbutton: Render with Cairo

In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.

15 years agoentry: replace gdk_draw_pixbuf() call with Cairo version
Benjamin Otte [Sun, 11 Jul 2010 22:00:07 +0000 (00:00 +0200)]
entry: replace gdk_draw_pixbuf() call with Cairo version

15 years agogdk: Revert making get_size optional
Benjamin Otte [Mon, 19 Jul 2010 11:24:30 +0000 (13:24 +0200)]
gdk: Revert making get_size optional

49a0ec6e95408e3484397602ad46e274cedbf98b added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.

In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.

The correct fix is to call impl->wrapper instead.

15 years agox11: Query size on real drawable
Benjamin Otte [Mon, 19 Jul 2010 11:15:10 +0000 (13:15 +0200)]
x11: Query size on real drawable

The X11 drawable does not have a clue about the real size of the
surface.

This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574

15 years agodocs: Fix sgml file to add gdk_keymap_get_num_lock_state()
Benjamin Otte [Tue, 13 Jul 2010 16:05:07 +0000 (18:05 +0200)]
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()

15 years agocups: Fix cast warnings
Benjamin Otte [Mon, 12 Jul 2010 12:40:04 +0000 (14:40 +0200)]
cups: Fix cast warnings

15 years agoUpdated Slovenian translation
Klemen Košir [Mon, 26 Jul 2010 12:45:57 +0000 (14:45 +0200)]
Updated Slovenian translation

15 years agoMoved the drawing of horizontal grid lines after cell drawing.
Szilárd Pfeiffer [Sun, 25 Jul 2010 12:46:57 +0000 (14:46 +0200)]
Moved the drawing of horizontal grid lines after cell drawing.

Without the change if the cell background is set the horizontal
grid line cannot be seen.

15 years agoAdd gdk_cursor_get_cursor_type
John Stowers [Wed, 14 Jul 2010 09:55:27 +0000 (21:55 +1200)]
Add gdk_cursor_get_cursor_type

https://bugzilla.gnome.org/show_bug.cgi?id=624087

15 years agoUpdate Simplified Chinese translation.
Aron Xu [Sat, 24 Jul 2010 05:15:32 +0000 (13:15 +0800)]
Update Simplified Chinese translation.

15 years agoClarify what the @event is used for when calling gtk_drag_begin()
Federico Mena Quintero [Fri, 23 Jul 2010 16:51:23 +0000 (11:51 -0500)]
Clarify what the @event is used for when calling gtk_drag_begin()

Signed-off-by: Federico Mena Quintero <federico@novell.com>
15 years agoCorrect marshaller for switch-page and adjust emission from menu
Christian Dywan [Mon, 19 Jul 2010 09:04:56 +0000 (11:04 +0200)]
Correct marshaller for switch-page and adjust emission from menu

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
15 years agoFix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
Stanislav Brabec [Thu, 22 Jul 2010 21:19:49 +0000 (16:19 -0500)]
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()

If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time().  If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().

For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865

15 years agoCheck if childs actually exists before using it
Javier Jardón [Thu, 22 Jul 2010 14:43:23 +0000 (16:43 +0200)]
Check if childs actually exists before using it

Check seems to have gone lost during GtkBin sealing in commit 4427760b

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707

15 years agoUpdated Galician translations
Fran Diéguez [Thu, 22 Jul 2010 14:28:52 +0000 (16:28 +0200)]
Updated Galician translations

15 years agoUpdate Simplified Chinese translations.
Tao Wang [Wed, 21 Jul 2010 04:04:06 +0000 (12:04 +0800)]
Update Simplified Chinese translations.

15 years agoUpdated Galician translations
Fran Diéguez [Tue, 20 Jul 2010 10:26:38 +0000 (12:26 +0200)]
Updated Galician translations

15 years agoMove GtkBoxChild from the public .h to gtkbox.c
Javier Jardón [Wed, 14 Jul 2010 22:54:41 +0000 (00:54 +0200)]
Move GtkBoxChild from the public .h to gtkbox.c

https://bugzilla.gnome.org/show_bug.cgi?id=624397

15 years agoDo not use GtkBoxChild in GtkStatusBar
Javier Jardón [Wed, 14 Jul 2010 22:46:22 +0000 (00:46 +0200)]
Do not use GtkBoxChild in GtkStatusBar

https://bugzilla.gnome.org/show_bug.cgi?id=624397

15 years agogtkentrycompletion: check return value because It can be non-UTF8
Javier Jardón [Mon, 19 Jul 2010 18:45:25 +0000 (20:45 +0200)]
gtkentrycompletion: check return value because It can be non-UTF8

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 19 Jul 2010 19:38:04 +0000 (21:38 +0200)]
Updated Norwegian bokmål translation

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 19 Jul 2010 18:39:43 +0000 (21:39 +0300)]
Updated Hebrew translation.

15 years agoGtkWindowGroup: Add guards to some gtk_window_group_* functions
Javier Jardón [Thu, 24 Jun 2010 16:38:16 +0000 (18:38 +0200)]
GtkWindowGroup: Add guards to some gtk_window_group_* functions

15 years agoAdd _gtk_check_menu_item_set_active() internal function
Javier Jardón [Thu, 15 Jul 2010 14:49:45 +0000 (16:49 +0200)]
Add _gtk_check_menu_item_set_active() internal function

It's needed by gtkradiomenuitem

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432

15 years agogtknotebook: Fix critical warnings on scroll events
Christian Persch [Tue, 23 Mar 2010 13:45:07 +0000 (14:45 +0100)]
gtknotebook: Fix critical warnings on scroll events

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391

15 years agogtkstock: Adding a File label stock item.
Ted Gould [Thu, 24 Jun 2010 19:51:38 +0000 (14:51 -0500)]
gtkstock: Adding a File label stock item.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658

15 years agoAdd _gtk_toggle_action_set_active() internal function
Javier Jardón [Fri, 16 Jul 2010 16:34:46 +0000 (18:34 +0200)]
Add _gtk_toggle_action_set_active() internal function

It's needed in gtkradioaction

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540

15 years agoGtkWindow: keep a reference of the widget on focus change.
Carlos Garnacho [Mon, 19 Jul 2010 13:01:04 +0000 (15:01 +0200)]
GtkWindow: keep a reference of the widget on focus change.

Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.

15 years agogtktextbuffer: Remove GET_PRIVATE macro
Javier Jardón [Mon, 19 Jul 2010 13:01:02 +0000 (15:01 +0200)]
gtktextbuffer: Remove GET_PRIVATE macro

It's only needed one time and should not be used again in the code.

15 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:35:06 +0000 (20:35 +0200)]
[i18n] Updated German translation

15 years ago[i18n] Updated German translation
Mario Blättermann [Sun, 18 Jul 2010 18:31:28 +0000 (20:31 +0200)]
[i18n] Updated German translation

15 years agoUpdated Spanish translation
Jorge González [Sun, 18 Jul 2010 10:03:33 +0000 (12:03 +0200)]
Updated Spanish translation

15 years agoUpdated Indonesian translation after reapply newest POT
Andika Triwidada [Sun, 18 Jul 2010 05:00:22 +0000 (12:00 +0700)]
Updated Indonesian translation after reapply newest POT

15 years agoUpdated Indonesian translation
Andika Triwidada [Sun, 18 Jul 2010 04:55:39 +0000 (11:55 +0700)]
Updated Indonesian translation

15 years agoMove GtkTextBuffer sealed attributes to private struct.
Ignacio Casal Quinteiro [Tue, 13 Jul 2010 09:23:57 +0000 (11:23 +0200)]
Move GtkTextBuffer sealed attributes to private struct.

15 years agogail-util: Constify gchar argument
Emmanuele Bassi [Wed, 14 Jul 2010 15:01:45 +0000 (16:01 +0100)]
gail-util: Constify gchar argument

And avoid a compiler warning.

https://bugzilla.gnome.org/show_bug.cgi?id=624349

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 16 Jul 2010 14:17:13 +0000 (17:17 +0300)]
Updated Hebrew translation.

15 years agoRemove accidental addition
Matthias Clasen [Fri, 16 Jul 2010 05:22:01 +0000 (01:22 -0400)]
Remove accidental addition

15 years agoAllow windows to be dragged by clicking on empty areas
Matthias Clasen [Fri, 16 Jul 2010 05:15:47 +0000 (01:15 -0400)]
Allow windows to be dragged by clicking on empty areas

Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.

The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.

15 years agoBack down glib requires
Matthias Clasen [Fri, 16 Jul 2010 03:42:04 +0000 (23:42 -0400)]
Back down glib requires

We really only need 2.25.11 after all.

15 years agoDo not use GtkBoxChild in GtkButtonBox.
Paolo Borelli [Wed, 14 Jul 2010 20:23:14 +0000 (22:23 +0200)]
Do not use GtkBoxChild in GtkButtonBox.

Do not store the is_secondary bit in the deprecated parent struct, use a
simple flag on the object instead. Fixes bug #624367.

15 years agodocs: gitignore GtkRecentManager .sgml template
Javier Jardón [Thu, 15 Jul 2010 13:42:41 +0000 (15:42 +0200)]
docs: gitignore GtkRecentManager .sgml template

THis completes commit 8eeeb97de6f65e3d6653063e51435a422919d378

15 years agodocs: Inline GtkRecentManager documentation
Emmanuele Bassi [Thu, 15 Jul 2010 08:10:55 +0000 (09:10 +0100)]
docs: Inline GtkRecentManager documentation

15 years agoRemove GtkRecenManager:limit deprecated property
Javier Jardón [Thu, 15 Jul 2010 01:04:50 +0000 (03:04 +0200)]
Remove GtkRecenManager:limit deprecated property

15 years agoDeprecate GtkRecenManager::limit property
Javier Jardón [Wed, 14 Jul 2010 15:35:08 +0000 (17:35 +0200)]
Deprecate GtkRecenManager::limit property

The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).

https://bugzilla.gnome.org/show_bug.cgi?id=624333

15 years agoDo not access an invalid ActionGroup. Closes #624362.
Jonh Wendell [Wed, 14 Jul 2010 17:45:42 +0000 (14:45 -0300)]
Do not access an invalid ActionGroup. Closes #624362.

15 years agoUpdated Traditional Chinese translation (Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 14 Jul 2010 11:25:57 +0000 (19:25 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)

15 years agoGtkTreeView: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:21:28 +0000 (02:21 +0200)]
GtkTreeView: unseal private pointer

15 years agoGtkTreeModelFilter: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:19:36 +0000 (02:19 +0200)]
GtkTreeModelFilter: unseal private pointer

15 years agoGtkToolItem: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:15:25 +0000 (02:15 +0200)]
GtkToolItem: unseal private pointer

15 years agoGtkToggleToolButton: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:13:29 +0000 (02:13 +0200)]
GtkToggleToolButton: unseal private pointer

15 years agoGtkPrintUnixDialog: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:11:00 +0000 (02:11 +0200)]
GtkPrintUnixDialog: unseal private pointer

15 years agoGtkPrintOperation: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:07:04 +0000 (02:07 +0200)]
GtkPrintOperation: unseal private pointer

15 years agoGtkExpander: unseal private pointer
Javier Jardón [Wed, 14 Jul 2010 00:01:20 +0000 (02:01 +0200)]
GtkExpander: unseal private pointer

15 years agoGtkToolButton: unseal private pointer
Javier Jardón [Tue, 13 Jul 2010 23:58:29 +0000 (01:58 +0200)]
GtkToolButton: unseal private pointer

15 years agoGtkAlignment: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 23:38:00 +0000 (01:38 +0200)]
GtkAlignment: move public members to private structure

15 years agoUse accessor functions to access GtkAlignment
Javier Jardón [Tue, 13 Jul 2010 23:45:55 +0000 (01:45 +0200)]
Use accessor functions to access GtkAlignment

15 years agoGtkViewport: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 21:20:38 +0000 (23:20 +0200)]
GtkViewport: move public members to private structure

15 years agogtkuimanager: unseal private pointer
Javier Jardón [Tue, 13 Jul 2010 20:44:53 +0000 (22:44 +0200)]
gtkuimanager: unseal private pointer

15 years agogtktoggleaction: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 18:27:16 +0000 (20:27 +0200)]
gtktoggleaction: move public members to private structure

15 years agoUse accessor functions to access GtkToggleAction
Javier Jardón [Tue, 13 Jul 2010 18:40:42 +0000 (20:40 +0200)]
Use accessor functions to access GtkToggleAction

15 years agogtktearoffmenuitem: Move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 18:09:59 +0000 (20:09 +0200)]
gtktearoffmenuitem: Move public members to private structure

15 years agoMerge branch 'windows_list'
Jonh Wendell [Tue, 13 Jul 2010 19:49:21 +0000 (16:49 -0300)]
Merge branch 'windows_list'

15 years agoGtkTable: move public members to private structure
Javier Jardón [Tue, 13 Jul 2010 01:55:37 +0000 (03:55 +0200)]
GtkTable: move public members to private structure

15 years agoUse accessor functions to access GtkTable
Javier Jardón [Tue, 13 Jul 2010 02:09:38 +0000 (04:09 +0200)]
Use accessor functions to access GtkTable

15 years agogtkstatusicon: unseal private pointer
Javier Jardón [Tue, 13 Jul 2010 01:14:53 +0000 (03:14 +0200)]
gtkstatusicon: unseal private pointer

15 years agogtkstatusbar: Move public members to private structure
Javier Jardón [Mon, 12 Jul 2010 23:46:15 +0000 (01:46 +0200)]
gtkstatusbar: Move public members to private structure

15 years agoUse accessor functions to access GtkStatusbar
Javier Jardón [Tue, 13 Jul 2010 01:05:58 +0000 (03:05 +0200)]
Use accessor functions to access GtkStatusbar

15 years agogtkspinner: Remove GET_PRIVATE macro
Javier Jardón [Mon, 12 Jul 2010 23:09:28 +0000 (01:09 +0200)]
gtkspinner: Remove GET_PRIVATE macro

15 years agoUse accessor functions to access GtkSpinButton
Javier Jardón [Mon, 12 Jul 2010 22:48:49 +0000 (00:48 +0200)]
Use accessor functions to access GtkSpinButton

15 years agoAdd _gtk_spin_button_get_panel private function
Javier Jardón [Mon, 12 Jul 2010 22:11:39 +0000 (00:11 +0200)]
Add _gtk_spin_button_get_panel private function

It's needed in gtktestutils.c

15 years agogtkspinbutton: move public members to private structure
Javier Jardón [Mon, 12 Jul 2010 21:43:18 +0000 (23:43 +0200)]
gtkspinbutton: move public members to private structure

15 years agogtksizegroup: Move public members to private structure
Javier Jardón [Mon, 12 Jul 2010 19:06:14 +0000 (21:06 +0200)]
gtksizegroup: Move public members to private structure

15 years agogtkseparatortoolitem: unseal private pointer
Javier Jardón [Mon, 12 Jul 2010 18:26:22 +0000 (20:26 +0200)]
gtkseparatortoolitem: unseal private pointer

15 years agoUse accessor functions to access GtkScrolledWindow
Javier Jardón [Fri, 9 Jul 2010 19:53:55 +0000 (21:53 +0200)]
Use accessor functions to access GtkScrolledWindow

15 years agoGtkScale: move public members to private structure
Javier Jardón [Thu, 8 Jul 2010 02:04:24 +0000 (04:04 +0200)]
GtkScale: move public members to private structure

15 years agoUse accessor functions to access GtkScale
Javier Jardón [Thu, 8 Jul 2010 02:14:44 +0000 (04:14 +0200)]
Use accessor functions to access GtkScale

15 years agoGtkScaleButton: Move public members to private structure
Javier Jardón [Thu, 8 Jul 2010 01:13:10 +0000 (03:13 +0200)]
GtkScaleButton: Move public members to private structure

15 years agoUse accessor functions to access GtkScaleButton
Javier Jardón [Thu, 8 Jul 2010 01:30:47 +0000 (03:30 +0200)]
Use accessor functions to access GtkScaleButton

15 years agoGtkRuler: move public member to private structure
Javier Jardón [Thu, 8 Jul 2010 00:56:59 +0000 (02:56 +0200)]
GtkRuler: move public member to private structure

15 years agogtkrecentmanager: unseal private pointer
Javier Jardón [Thu, 8 Jul 2010 00:05:32 +0000 (02:05 +0200)]
gtkrecentmanager: unseal private pointer

15 years agogtkrecentchooserwidget: unseal private pointer
Javier Jardón [Thu, 8 Jul 2010 00:00:00 +0000 (02:00 +0200)]
gtkrecentchooserwidget: unseal private pointer

15 years agogtkrecentchoosermenu: unseal private pointer
Javier Jardón [Wed, 7 Jul 2010 23:56:13 +0000 (01:56 +0200)]
gtkrecentchoosermenu: unseal private pointer

15 years agogtkrecentchooserdialog: unseal private pointer
Javier Jardón [Wed, 7 Jul 2010 23:53:39 +0000 (01:53 +0200)]
gtkrecentchooserdialog: unseal private pointer

15 years agoGtkRecentAction: move public members to private structure
Javier Jardón [Wed, 7 Jul 2010 23:48:01 +0000 (01:48 +0200)]
GtkRecentAction: move public members to private structure

15 years agoGtkRadioMenuItem: Move public members to private structure
Javier Jardón [Wed, 7 Jul 2010 23:23:02 +0000 (01:23 +0200)]
GtkRadioMenuItem: Move public members to private structure

15 years agoGtkRadioButton: Move public members to private structure
Javier Jardón [Wed, 7 Jul 2010 23:04:11 +0000 (01:04 +0200)]
GtkRadioButton: Move public members to private structure

15 years agoGtkRadioAction: unseal private pointer
Javier Jardón [Wed, 7 Jul 2010 02:42:05 +0000 (04:42 +0200)]
GtkRadioAction: unseal private pointer

15 years agoGtkProgressBar: Move public members to private structure
Javier Jardón [Wed, 7 Jul 2010 02:36:38 +0000 (04:36 +0200)]
GtkProgressBar: Move public members to private structure

15 years agogtkprinter: unseal private pointer
Javier Jardón [Wed, 7 Jul 2010 01:54:48 +0000 (03:54 +0200)]
gtkprinter: unseal private pointer

15 years agogtkprintbackend: Use private pointer instead GET_PRIV() macro
Javier Jardón [Wed, 7 Jul 2010 01:51:19 +0000 (03:51 +0200)]
gtkprintbackend: Use private pointer instead GET_PRIV() macro

15 years agoGtkPaned: move public members to private structure
Javier Jardón [Tue, 6 Jul 2010 02:37:38 +0000 (04:37 +0200)]
GtkPaned: move public members to private structure

15 years agoUse accessor functions to access GtkPaned
Javier Jardón [Tue, 6 Jul 2010 04:32:48 +0000 (06:32 +0200)]
Use accessor functions to access GtkPaned

15 years agogtkpagesetupunixdialog: unseal private pointer
Javier Jardón [Mon, 5 Jul 2010 03:24:59 +0000 (05:24 +0200)]
gtkpagesetupunixdialog: unseal private pointer

15 years agoGtkMisc: move public members to private structure
Javier Jardón [Fri, 2 Jul 2010 15:04:26 +0000 (17:04 +0200)]
GtkMisc: move public members to private structure

15 years agoUse accessor functions to access GtkMisc
Javier Jardón [Fri, 2 Jul 2010 15:49:18 +0000 (17:49 +0200)]
Use accessor functions to access GtkMisc

15 years agoGtkMessageDialog: move public members to private structure
Javier Jardón [Fri, 2 Jul 2010 13:53:46 +0000 (15:53 +0200)]
GtkMessageDialog: move public members to private structure

15 years agoGtkMenuToolButton: unseal private pointer
Javier Jardón [Fri, 2 Jul 2010 13:30:57 +0000 (15:30 +0200)]
GtkMenuToolButton: unseal private pointer

15 years agoGtkMenuBar: Use private pointer instead GET_PRIV() macro all the time
Javier Jardón [Mon, 28 Jun 2010 21:21:58 +0000 (23:21 +0200)]
GtkMenuBar: Use private pointer instead GET_PRIV() macro all the time

15 years agoGtkListStore: move public members to private structure
Javier Jardón [Mon, 28 Jun 2010 04:10:47 +0000 (06:10 +0200)]
GtkListStore: move public members to private structure